<!-- 弹出框 -->
<form id="ruleDialog">
	<div class="modal-body">
       	<input type="hidden" name="isDraft" value="1" />
		<input type="hidden" name="id" value="${ruleData.id!}" />
        <div class="form-group"><label><@spring.message code='search.name'/>：</label> 
			<input type="text" class="form-control" name="name" value="${ruleData.name!}">
		</div>
		<br/><br/>
		<#if ruleData.name??>
		<div class="form-group"><label><@spring.message code='lun.type'/>：</label> 
			<select style="margin-top: 10px;" name="type" class="form-control m-b">
				<#if typeList??>
				<#list typeList as item>
				<option value="${item.id!}" <#if item.id == ruleData.type>selected="selected"</#if>>${item.name!}</option>
				</#list>
				</#if>
			</select>
        </div>
		</#if>
    </div>
</form>
<!-- 弹出框end -->